#include "Place.h"


Place::Place(void)
{
}

Place::Place(int id,char *name,char *desc)
{
	this->id = id;
    strcpy(this->name,name);
	strcpy(this->desc,desc);
}

void Place::Init(int id,char *name,char *desc)
{
	this->id = id;
    strcpy(this->name,name);
	strcpy(this->desc,desc);
}

int Place::getId()
{
	return this->id;
}

char* Place::getName()
{
	return this->name;
}

 
char* Place::getDesc()
{
    return this->desc;
}

int Place::getX()
{
    return this->x;
}

int Place::getY()
{
    return this->y;
}

int Place::getLeft()
{
    return this->left;
}

int Place::getRight()
{
    return this->right;
}

int Place::getUp()
{
    return this->up;
}

int Place::getDown()
{
    return this->down;
}

void Place::setX(int x)
{
    this->x = x;
}

void Place::setY(int y)
{
    this->y = y;
}

void Place::setLeft(int left)
{
    this->left = left;
}

void Place::setRight(int right)
{
    this->right = right;
}

void Place::setUp(int up)
{
    this->up = up;
}

void Place::setDown(int down)
{
    this->down = down;
}

void Place::setName(char *name)
{
    strcpy(this->name,name);
}

void Place::setDesc(char *desc)
{
    strcpy(this->desc,desc);
}

int Place::getBicycleNum()
{
    return this->bicycleNum;
}

void Place::setBicycleNum(int num)
{
    this->bicycleNum = num;
}
Place::~Place(void)
{
}
